package com.oracle.lingshangejia.adapter;


import android.support.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.oracle.lingshangejia.R;
import com.oracle.lingshangejia.bean.SpecialDiseaseBaen;

import java.util.List;

public class SpecialManagementAdapter extends BaseQuickAdapter<SpecialDiseaseBaen.DataBean.RowsBean, BaseViewHolder> {

    public SpecialManagementAdapter( @Nullable List<SpecialDiseaseBaen.DataBean.RowsBean> data) {
        super(R.layout.item_special_management, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, SpecialDiseaseBaen.DataBean.RowsBean item) {
        helper.setText(R.id.tv_name, item.getName());
    }


}
